package factory;

import java.beans.Statement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;

public class jdbc {

	public void sdsd()
	{
		PreparedStatement ste = null ;
		try {
			Class.forName(null);
			Connection con=DriverManager.getConnection(null);
			String sql="UPDATE Person_Tbl SET age=23 WHERE id = ?";
			 ste=con.prepareStatement(sql);
			  ste.setInt(1, 11);
		} catch (Exception e) {
		}
		
	}
	
}
